import { createBrowserRouter } from "react-router-dom";
import DeviceLists from "../pages/device/deviceLists";
import ProjectAdmin from "../pages/project/projectLists";
import GroupLists from "../pages/group/groupLists";
import TemplateManagement from "../pages/template/templateManagement";
import ListMonitorLists from "../pages/listMonitor/listMonitorLists";
import React from "react";

// 添加缺失的页面组件导入
export default createBrowserRouter([
  { path: "/device", element: <DeviceLists /> },
  { path: "/project", element: <ProjectAdmin /> },
  { path: "/deviceGroup", element: <GroupLists /> },
  { path: "/deviceTemplate", element: <TemplateManagement /> },
  { path: "/listMonitor", element: <ListMonitorLists /> },
  //   { path: "*", element: <NotFound /> }
]);
